package com.cl.reptile.service.impl;

import com.cl.reptile.mapper.UserMapper;
import com.cl.reptile.pojo.User;
import com.cl.reptile.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author chenlong
 * @create 2021-25-19 17:25
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User getUserById(Long id) {
        return userMapper.getUserById(id);
    }
}
